package com.example.show2020_11_3application;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {
    private TextView textView;
    private Button oo;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        initView();
        setListnenr();



    }

    private void setListnenr() {
        oo.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(MainActivity.this,LogActivity.class);
                startActivity(intent);
            }
        });
    }
    private void initView(){
        oo=findViewById(R.id.oo);
        textView=findViewById(R.id.te);
    }
}
